<?php
use yii\helpers\Url;
use app\assets\UserAdminAsset;

UserAdminAsset::register($this);
?>
<?php $this->beginPage(); ?>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>用户中心</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <?php $this->head(); ?>
</head>

<body data-type="index">
<?php $this->beginBody(); ?>

<header class="am-topbar am-topbar-inverse admin-header">
    <div class="am-topbar-brand">
        <a href="javascript:;" class="tpl-logo">
            <img src="admin/index/img/logo.png" alt="">
        </a>
    </div>
    <div class="am-icon-list tpl-header-nav-hover-ico am-fl am-margin-right">

    </div>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only"
            data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span
                class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list tpl-header-list">
<!--            <li class="am-dropdown" data-am-dropdown data-am-dropdown-toggle>-->
<!--                <a class="am-dropdown-toggle tpl-header-list-link" href="javascript:;">-->
<!--                    <span class="am-icon-bell-o"></span> 提醒 <span-->
<!--                            class="am-badge tpl-badge-success am-round">5</span></span>-->
<!--                </a>-->
<!--                <ul class="am-dropdown-content tpl-dropdown-content">-->
<!--                    <li class="tpl-dropdown-content-external">-->
<!--                        <h3>你有 <span class="tpl-color-success">5</span> 条提醒</h3><a href="###">全部</a></li>-->
<!--                    <li class="tpl-dropdown-list-bdbc"><a href="#" class="tpl-dropdown-list-fl"><span-->
<!--                                    class="am-icon-btn am-icon-plus tpl-dropdown-ico-btn-size tpl-badge-success"></span>-->
<!--                            【预览模块】移动端 查看时 手机、电脑框隐藏。</a>-->
<!--                        <span class="tpl-dropdown-list-fr">3小时前</span>-->
<!--                    </li>-->
<!--                    <li class="tpl-dropdown-list-bdbc"><a href="#" class="tpl-dropdown-list-fl"><span-->
<!--                                    class="am-icon-btn am-icon-check tpl-dropdown-ico-btn-size tpl-badge-danger"></span>-->
<!--                            移动端，导航条下边距处理</a>-->
<!--                        <span class="tpl-dropdown-list-fr">15分钟前</span>-->
<!--                    </li>-->
<!--                    <li class="tpl-dropdown-list-bdbc"><a href="#" class="tpl-dropdown-list-fl"><span-->
<!--                                    class="am-icon-btn am-icon-bell-o tpl-dropdown-ico-btn-size tpl-badge-warning"></span>-->
<!--                            追加统计代码</a>-->
<!--                        <span class="tpl-dropdown-list-fr">2天前</span>-->
<!--                    </li>-->
<!--                </ul>-->
<!--            </li>-->
<!--            <li class="am-dropdown" data-am-dropdown data-am-dropdown-toggle>-->
<!--                <a class="am-dropdown-toggle tpl-header-list-link" href="javascript:;">-->
<!--                    <span class="am-icon-comment-o"></span> 消息 <span-->
<!--                            class="am-badge tpl-badge-danger am-round">9</span></span>-->
<!--                </a>-->
<!--                <ul class="am-dropdown-content tpl-dropdown-content">-->
<!--                    <li class="tpl-dropdown-content-external">-->
<!--                        <h3>你有 <span class="tpl-color-danger">9</span> 条新消息</h3><a href="###">全部</a></li>-->
<!--                    <li>-->
<!--                        <a href="#" class="tpl-dropdown-content-message">-->
<!--                                <span class="tpl-dropdown-content-photo">-->
<!--                      <img src="assets/img/user02.png" alt=""> </span>-->
<!--                            <span class="tpl-dropdown-content-subject">-->
<!--                      <span class="tpl-dropdown-content-from"> 用户 </span>-->
<!--                                <span class="tpl-dropdown-content-time">10分钟前 </span>-->
<!--                                </span>-->
<!--                            <span class="tpl-dropdown-content-font"> AI FUTURE 的诞生，依托于 激情 及其他技术社区上一些优秀的资源；AI FUTURE 的成长，则离不开用户的支持。 </span>-->
<!--                        </a>-->
<!--                        <a href="#" class="tpl-dropdown-content-message">-->
<!--                                <span class="tpl-dropdown-content-photo">-->
<!--                      <img src="assets/img/user03.png" alt=""> </span>-->
<!--                            <span class="tpl-dropdown-content-subject">-->
<!--                      <span class="tpl-dropdown-content-from"> Steam </span>-->
<!--                                <span class="tpl-dropdown-content-time">18分钟前</span>-->
<!--                                </span>-->
<!--                            <span class="tpl-dropdown-content-font"> 为了能最准确的传达所描述的问题， 建议你在反馈时附上演示，方便我们理解。 </span>-->
<!--                        </a>-->
<!--                    </li>-->
<!---->
<!--                </ul>-->
<!--            </li>-->
<!--            <li class="am-dropdown" data-am-dropdown data-am-dropdown-toggle>-->
<!--                <a class="am-dropdown-toggle tpl-header-list-link" href="javascript:;">-->
<!--                    <span class="am-icon-calendar"></span> 进度 <span-->
<!--                            class="am-badge tpl-badge-primary am-round">4</span></span>-->
<!--                </a>-->
<!--                <ul class="am-dropdown-content tpl-dropdown-content">-->
<!--                    <li class="tpl-dropdown-content-external">-->
<!--                        <h3>你有 <span class="tpl-color-primary">4</span> 个任务进度</h3><a href="###">全部</a></li>-->
<!--                    <li>-->
<!--                        <a href="javascript:;" class="tpl-dropdown-content-progress">-->
<!--                                <span class="task">-->
<!--                        <span class="desc">AI FUTURE 用户中心 </span>-->
<!--                                <span class="percent">45%</span>-->
<!--                                </span>-->
<!--                            <span class="progress">-->
<!--                        <div class="am-progress tpl-progress am-progress-striped"><div-->
<!--                                    class="am-progress-bar am-progress-bar-success" style="width:45%"></div></div>-->
<!--                    </span>-->
<!--                        </a>-->
<!--                    </li>-->
<!--                    <li>-->
<!--                        <a href="javascript:;" class="tpl-dropdown-content-progress">-->
<!--                                <span class="task">-->
<!--                        <span class="desc">新闻内容页 </span>-->
<!--                                <span class="percent">30%</span>-->
<!--                                </span>-->
<!--                            <span class="progress">-->
<!--                       <div class="am-progress tpl-progress am-progress-striped"><div-->
<!--                                   class="am-progress-bar am-progress-bar-secondary" style="width:30%"></div></div>-->
<!--                    </span>-->
<!--                        </a>-->
<!--                    </li>-->
<!--                    <li>-->
<!--                        <a href="javascript:;" class="tpl-dropdown-content-progress">-->
<!--                                <span class="task">-->
<!--                        <span class="desc">管理中心 </span>-->
<!--                                <span class="percent">60%</span>-->
<!--                                </span>-->
<!--                            <span class="progress">-->
<!--                        <div class="am-progress tpl-progress am-progress-striped"><div-->
<!--                                    class="am-progress-bar am-progress-bar-warning" style="width:60%"></div></div>-->
<!--                    </span>-->
<!--                        </a>-->
<!--                    </li>-->
<!---->
<!--                </ul>-->
<!--            </li>-->


            <li class="am-dropdown" data-am-dropdown data-am-dropdown-toggle>
                <a class="am-dropdown-toggle tpl-header-list-link" href="javascript:;">
                    <span class="tpl-header-list-user-nick"><?php $session = new \yii\web\Session();echo $session['User']['nickname'];?></span><span class="tpl-header-list-user-ico"> <img
                                src="home/user/img/user-logo.png"></span>
                </a>
<!--                <ul class="am-dropdown-content">-->
<!--                    <li><a href="#"><span class="am-icon-bell-o"></span> 资料</a></li>-->
<!--                    <li><a href="#"><span class="am-icon-cog"></span> 设置</a></li>-->
<!--                    <li><a href="--><?php ////echo Url::toRoute(['user/log-out']);?><!--"><span class="am-icon-power-off"></span> 退出</a></li>-->
<!--                </ul>-->
            </li>
            <li><a href="<?php echo Url::toRoute(['index/index']);?>" class="tpl-header-list-link"><span
                            class="am-icon-sm am-icon-home"> 返回首页</span></a></li>
            <li><a href="<?php echo Url::toRoute(['user/log-out']);?>" class="tpl-header-list-link"><span
                            class="am-icon-sign-out tpl-header-list-ico-out-size">退出登陆</span></a></li>
        </ul>
    </div>
</header>

<div class="tpl-page-container tpl-page-header-fixed">
    <div class="tpl-left-nav tpl-left-nav-hover">
        <div class="tpl-left-nav-title">
            用户操作 列表
        </div>
        <div class="tpl-left-nav-list">
            <ul class="tpl-left-nav-menu">
                <li class="tpl-left-nav-item">
                    <a href="<?php echo Url::toRoute(['user/index']); ?>" class="nav-link active">
                        <i class="am-icon-home"></i>
                        <span>首页</span>
                    </a>
                </li>

                <li class="tpl-left-nav-item">
                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-wpforms"></i>
                        <span>个人设置</span>
                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right tpl-left-nav-more-ico-rotate"></i>
                    </a>
                    <ul class="tpl-left-nav-sub-menu" style="display: block;">
                        <li>
                            <a href="<?php echo Url::toRoute('user/modify')?>">
                                <i class="am-icon-angle-right"></i>
                                <span>完善简历</span>
                                <i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>
                            </a>

                            <a href="<?php echo Url::to(['user/resume','id'=>yii::$app->session['User']['id']]);?>">
                                <i class="am-icon-angle-right"></i>
                                <span>查看简历</span>
                                <i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>
                            </a>

                            <a href="<?php echo Url::toRoute('user/reset-password')?>">
                                <i class="am-icon-angle-right"></i>
                                <span>密码修改</span>
                                <i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="tpl-left-nav-item">
                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-table"></i>
                        <span>财务管理</span>
                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
                    </a>
                    <ul class="tpl-left-nav-sub-menu">
                        <li>
                            <a href="<?php echo Url::toRoute(['user/deal-list']);?>">
                                <i class="am-icon-angle-right"></i>
                                <span>交易记录</span>
                                <i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>
                            </a>

                            <a href="<?php echo Url::toRoute(['user/order-submission']);?>">
                                <i class="am-icon-angle-right"></i>
                                <span>任务提交</span>
                                <i class="tpl-left-nav-content tpl-badge-success">
                                    1
                                </i>
                        </li>
                    </ul>
                </li>

<!--                <li class="tpl-left-nav-item">-->
<!--                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">-->
<!--                        <i class="am-icon-wpforms"></i>-->
<!--                        <span>提交申请</span>-->
<!--                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right tpl-left-nav-more-ico-rotate"></i>-->
<!--                    </a>-->
<!--                    <ul class="tpl-left-nav-sub-menu">-->
<!--                        <li>-->
<!--<!--                            <a href="--><?php ////echo Url::toRoute(['user/job-apply']);?><!--<!--">-->
<!--<!--                                <i class="am-icon-angle-right"></i>-->
<!--<!--                                <span>工作申请</span>-->
<!--<!--                                <i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>-->
<!--<!--                            </a>-->
<!---->
<!--                            <a href="--><?php //echo Url::toRoute(['user/index']);?><!--">-->
<!--                                <i class="am-icon-angle-right"></i>-->
<!--                                <span>协调纠纷</span>-->
<!--                            </a>-->
<!--                        </li>-->
<!--                    </ul>-->
<!--                </li>-->

                <li class="tpl-left-nav-item">
                    <a href="<?php echo Url::toRoute(['user/help']);?>" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-github"></i>
                        <span>帮助与反馈</span>

                    </a>
                </li>
            </ul>
        </div>
    </div>

    <?php echo $content; ?>

    <?php $this->endBody(); ?>
</body>
</html>
<?php $this->endPage(); ?>
